package cn.edu.uestc.smgt.dao;

import java.util.HashMap;
import java.util.List;

import cn.edu.uestc.smgt.pojo.BuzhuCurrent;

public interface BuzhuCurrentMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(BuzhuCurrent record);

	int insertSelective(BuzhuCurrent record);

	BuzhuCurrent selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(BuzhuCurrent record);

	int updateByPrimaryKey(BuzhuCurrent record);

	/**
	 * 根据条件查询当前补助信息
	 * 
	 * @return
	 */
	List<BuzhuCurrent> selectBySelections(HashMap map);

	/**
	 * 根据封装的Map中的值插入一条新记录
	 * @param map
	 * @return
	 */
	int insertSelectiveByMap(HashMap map);

}